<?php

namespace app\admin\model\yun;

use app\admin\model\BaseModel;

class YunPhoneUserMachine extends BaseModel
{
    /**
     * 显示状态
     */
    const displayStatus = [
        '0' => '离线',
        '1' => '运行中',
        '2' => '重启中'
    ];
    /**
     * 挂机状态
     */
    const onHookState = [
        '0' => '未挂机',
        '1' => '已挂机',
        '2' => '重启中'
    ];
    const phoneStatus = [
        '0'   => '未使用',
        '50'  => '使用中',
        '-10' => '已过期',
        '-50' => '已注销'
    ];
    const bindStatus = [
        '0'  => '未绑定',
        '10' => '绑定中',
        '20' => '恢复数据中',
        '50' => '已绑定',
        '60' => '备份数据中'
    ];
}